Added tastypie utils.
Some other code refine.