Creates a global instance of notestore,client, and userstore

Issue #2

Signed-off-by: Eric Fernance <beanie@purplebeanie.com>