Config in SQL, eliminated the nasty constants