Make item and layout dirs configurable