Created the basics for the module system.
Added a few todos!
Add checks and different other things.