Models and classes shared by Travis hub and server