now working as a module system
Updated documentation for require and modules