WIP #1 - Implement these functions.

I've also removed the menus for now as they were just placeholders.