adicionando controller e model writting