eliminating database from __init__