Rails engine for data driven applications