Validates the Main Application so now it works as it should be