hash constants, add dynamic accesor methods, grab api url from config