Implement getClass method
Implement isA method
Rewrite php types to lib types. Fix tests.
Add isEmpty method to ModuleEnumerable