Added DLC feature and Improved code.

Fixed compiler warnings that appear with -Wextra
Added -Wextra:w