Content element only use Model.

All database calls replaced by model calls.