fixed parser to allow for non namespaced classes held within files with another name + regresses according to tests @todo new test may not cover all possibilities