Started implementing core functionality.