html_escape function implemented. Some functions for lua based modules implemented.