Changed base class name.
Minor improvements.
Added thread-safety and table update possibility to dao implementation.