made some changes in models and added status model