working schemas and models

ravi approves