Made changes to create an Actor that will be responsible for managing
periodic tasks in the system.
Made changes to wrap buffer under a common interface.