Added tastypie to provide restful api functionality