added git ignore
created separate file for opening db connection