added block moving. Initial version