Api

CREATED api for all models