Finished core functionality.