Update lib

Change lib/classes/ to lib/core/
Update modules

Renamed Module class to ModuleInterface class