Added documentation, finalized