Finalize api to udacity specifications
Remove some logging