Library configuration

define a struct that a user can fill and pass to the library. or use #ifdef to check if custom values have been provided via #define