some fixes
added suport Database class
New class - Database