added keygem initialization script

Just a skeleton for now
init detects if database is created and creates it if not