Minor clean ups and started writing a user manual.