functions refactoring, deleted unused app module
moved utils file, removed dependencies