#23 fixed: made more clear way for creating control panels