stripped down application import. ready for refactoring