application integration finished, api is testes. (comments and some improve can be added)