merged with pi bot
Added initial api
Merge pull request #2 from foresterh/master

merged with failbot from pi