Refactor controller with document
Update README about files section