Staging

Created active record implementation and batch processing