Automatic Finalization of Applications and Adding AD Account Creation functionality

Signed-off-by: Pratheek Rebala <pratheekrebala@live.com>