Changed inPage to inEl, refactored and made everything chain able
Added priorities to commands