Merge pull request #16 from fabianuribe/auction-sugestions

Migration to restful json API
Fix styling
Remove unnecessary if statement
Remove unnecessary "only"
refactor tests