add docblocks and ability to run php functions
bumped version to 0.2
Merge branch 'release-0.2' into dev