merging config data into template site variable
refactoring the items code
small adjustments