removed unnecessary stuff and moved most styles to stylesheet