Changed the layout of the struct and the create functions
Removed some stuff that should be moved later into a config file. Might remove modes later too