Add Directory model based on angular resource. #ref 68