Fixed LogDatabase constructor

Constructor now only requires one parameter- context.
Methods were renamed.