commit inicial del template
basic functionality working
several corrections