updated swipe motion + added two new functions to control destroying, creating and initialization of app