new link API version. (and a little bit of refactoring)

Signed-off-by: jlucidar <jlucidar@gmail.com>
Merge branch 'master' of https://github.com/jlucidar/ShopBot-API.git