Added some documentation to the entitysystem module