Basic structures, sortings, utilities implemented