[ADD] Model and functionality for history creation added, cron moved from demo to data.