Updated the install to match the current database design
Support new foreign key constraint
Updated style guide (small)
Introduced the ModuleException class & updated comments
Removed redundant comment fields
Uncomplete update