Cleanup of code

Removed obselete parts of the mulicore code and included documentation.