added inc, globals, config, gallery functions, etc
added inc, globals, config, gallery functions, etc