Updated README, updated some phpdocs