Misc code reorganization.
Implement first() and last().
Trim down the Readme.