Credentials configuration

Change credentials configuration into separate json and change
implementation accordingly. Delete obsolete files and non functional
solutions