Refactored layout directory to config directory