added tail script + test skeleton + databaseutils