Made structure parser return a list instead of ClassDef
Added basic extends implementation