refactor(settings.js): scaffold out creditCard directive