Complete create, read and index actions for contracts