several bugs resolved, usefull flags table added to db, countries table removed from db