Implement project Essential_L4.1

@kostiantyn-kuzin please review
No need to call Act() in each case. Call it once after switch completes. Check "ah" for null before calling.