Removed config class and added version varible.