moved annotation stuff out of Config.java