Added asdoc and comments

Now you know what these things do!