added main file
changed a lot of things
added files and templates for the configuration