Refactoring

Added api references for buying and selling bitcoins.