refactored the app and added a new design