Added DB integration - not complete

Commiting to allow work from other computer
The DB integration is not complete
Added:
1.Several side effects levels
2.Some DB integration