making it possible to easily refer to a placeholder by its uid in template; some improvements of core; making of example layout and plugins