Adding sqlite support

Added a lot of classes and fixed up some current ones to have sqlite.
Signs and a items will be saved by an ID

Also adding a logging class to log errors