refactoring: move problems to project root
refactoring: extracted cli stuff from problems