Added Application Model and Tests