Changed namespace on API classes.
Decoupled api requests from the user model.