Move common files to lib/
Add a terrible mocking HTML. Will improve.