Finalise my code, deleted unnecessary documents and cleaned up some parts.