added basic parser for types/methods/classes/scope for code