Adding basic API KEY mechanisms. Fixes Issue #80