Added binary serialization for data
Changed database file spec