Clean up documentation

Make sure docs are complete, clean them up, and preferably split them up into separate files.