Cleanup and apply PEP8.
Remove extra line.
Remove projects.getList call after create. Instead append.
Remove pubsub to sidebar.