Development docs

Added some documentation on how to extend and modify the code.