Added support for preExecute() call on Module
Refactored routes parsing to accommodate custom classes
Added prototype for in-built REST module