added static classes to db handling and to runtime enviroment handling, orginized file structure a little better