add factory for timslot model