Initial startup data

added initial data on startup and beginning to work on template events
functions.