Created design report and cleaned up code