Move input mapping to app
Implement module require permissions