Improve API strategy
PEP8
Change API urls and test strategy