Continue work on refactoring, add utilities module
Remove syntax error