move validation to api, add calculate function by connect to api
Merge branch 'master' of github.com:github-sprint3r/park-golang