Added module apps and functional tests for them.