moved

some config from cpp to header file so that it's more easy to read