wooh it works sorta

basic database works