Removed obsolete resource module
Updated schema code & schema generator