Moved hardcoded #defines to the init method to allow users to adapt the library easier to their projects