Move create logic from sinatra into credit card.