Updating docs, database consistency

Added notes about naming conventions
database conventions
Writing tests