Bug fixes and added Bitcoin integration