Delete modules from root directory

The modules directory has been moved to /src/modules.
Added some tests