Making object model
Added priority selector and realized it into template