Moved the sub module stuff out

Sorry that i downloaded your template, but i needed to get this working
for references in the future, you made an awesome interface!