app: implemented swap.
api: added handler for swap.
api: added route for swap.
added docs about app swap.