Removed the Main from module. It cannot exist here.
Auto detects modules now
Merge pull request #1 from mcharris/master

Now auto detects the modules and initalizes them.