added new features, added html frontend