refactoring. moved css to its own file. cleaned up spacing