storing crops to the database

This now stores both to the database and keeps
them in memory. This might cause delays and memory
jams. Need to put it only to memory.

Signed-off-by: zeljko <zeljko@zwr.fi>