Added exit; to redirect conditions
Added Configuration variables for theme and layout