cleanup: move constants to the build system, remove whitespaces, log some stuff