Refactored models/controllers; add figaro & configure for travis