Added a general defines header that allows you to disable certain features

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>