Code cleanup and started django app