Changed CodeParser to class with static methods #46