Rebuild data access model and added receive script