Wrote proper docs

Well... There was nothing before. Now there's something.