second commit added functions - created first database structure