fixed some templates and inetegrated the lcd module