Fixed missing import. Moved consumer key and secret out to external definition