moved app to separate file
implemented basic UI for editing settings