Create settings system, moved more fixed values to config, improved readability