Implements model logic to app