Move AmberDB to a 'service'

and remove a few static things.

This will cause Jenkins and Travis to yell at us.