Issue 2 bitbucket support

Closes #2