Reorganized code. dded imagr_user to installed apps.