Add lint rules and clean up code