finished documentDAO. Need to think about serialization