* Added first unit test for engine
* refactored ApplicatonProfile(s)