mvc simple implementation