modified receipt generation, added service
first draft version allowing communication with beebole and generating receipt
fixed jshint warnings