Fixed bug and added documentation

Fixed a bug and added documentation on how to setup and simple OP and RP