Split app in separate files