Added basic REST API

Made a really basic interface to communicate with the REST API for
creating/updating tasks.