Cleans code stylistically and adds local prettyprint lib