Added first functions towards high level user interface