moved css into a seperate file, fixed a bug