Moved block contracts and transactions to chain package