refactor: problems solved/unsolved moved to factory

extracted to separate folder
fixed test

Signed-off-by: A. Prooks <aprooks@live.ru>
chore: build

Signed-off-by: A. Prooks <aprooks@live.ru>
format: jshint

Signed-off-by: A. Prooks <aprooks@live.ru>
Merge pull request #50 from aprooks/chore/refactorings

Chore/refactorings
Merge pull request #12 from ChrisBoesch/master

merging back