cleaned code a tad and added some better css for the front end.