Introduce management-app related messages for samples + refactoring
Pass and use options
Fix and add specs
Bump version to 0.4.0