implementing full database yaml export
corrected yaml export
whole database yaml import and export implemented