Code cleanup

* Cleaned up some comments
* Added a d_print function for debug printing
* Added gitignore file
Added some code documentation and new class Slave
Testing and refactoring code
Testing and refactoring code

Moved some functions away from brender.py. Is this file actually useful?
Also added some properties and documentation for the Slave class.
Maybe we should drop the naming slaves in favor to clients.