Refactored project into core app concept and fixed relative imports