Initial commit. Basic API functions defined and partial web interface prototype created