Fix documentation
Added SQL documentation

TODO:
Create table for messages!