add LOIConfig struct and some struct inits, start adding logging functions