full implementation of source code parser

Full implementation of source code parser. 
Next milestone: XML source generator.