general cleanup

- added ending p, body and html tags
- added a head part including title
- added formatting (in-code)