Reworked interface with namedtuples
Added documentation