Moved console command to seperate classes
Fixed device access error when running in local mode
Updated sample prod config
Fixed console errors