made logic in create action more testable, added first twig render test, introduced compiler and formatter