updated main file class to be not required for edit app