Expanded documentation and added a few more todo items.