Added DB structure export
Added php functionality