Convert to spaces, because tabs are not cool
Update methods documentation
Add PHPDoc method entries for all API functions closes #1