Added basic REST functionality via Flask