major changes

changed whole layout and working of the app