added a pattern library and some small styling tweaks