checkin. defined models. some prototype code for mailing, fb graph api, mail template handling