Removed DB.cs

The class was responsible for data access which is obsolete now that EF
is being used.
Refactored class to use EF

Removed DB-instance and made use of EF instead.