Add configuration to README
Move api definition to configuration
process yml api definition
clean up unused file
refactor api handling, add tests