Provided named titles for CSS selectors. Refactored quite a bit. Fixes #15