Implemented, tested and documented entities. Closes #232.