A general project refactor

Removed pins django app, and moved code to the core. Moved user related
code out of core to the users app.