Adding Wextra, fixing a disaster in Makefile and small fixes
Removing some warnings
Adding get_type and get_type_mask (tested)