adding templates starting app logic