several fixes for features.js and moved app actions to a feature...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>