Updated readme. Refactored css generation, and added css preview to page