Removed use of config. A little refactoring, CSS still a mess and need to put bootstrap css in.