Finalised all source files. Added final documentation.