Many changes

- More tests
- declared namespaces (packges)
- new functions send_query (uses result and is better with insert and
update calls), query_from_file
- renamed runDB to execute_in_db