Split all application-specific stuff from the framework-specific stuff, as a start to producing a generic framework