added createSlotContainer and createForwardContainer methods, closes #335