Added credit api.
Refactored java padding scheme.
Inclusion of libs mjson and retrofit (rest client).