Update database schema
added a debug class to have a more valuable debuging
Added some basic debugs, to be completed