core logic extracted from mvc project moved to it's own maven module