Added init back to database class