New database protocol implemented.

Database is now devided between a 'program' database and (several) 'tidal'
databases.
Integration of numpy arrays for tidal data storage and calculations.