Design, Analysis And Realtime Realization of Artificial Neural Network For Control And Classification