Use History object instead of array
Add LICENSE
Update README
Add PHPdoc
Fix getHistory call