moved views to a seperate file and added some css