Teo extensions debugged and are functional. Still requires some corrections and a lot of code clean-up