Backend

Changed config global to const with class
add function base_url() which return Config::baseurl
change include config to require_once
mail server probably broken if we use it

I hope i did not miss any find and replace