First commit. Working version of HamSql