Added documentation and db scripts