Added docblocks and defined license