Adding listings configuration
Splitting implementation.tex into multiple files

Also finished the slave part of the implementation chapter.