[#250] renamed `init` to `add`, and added a (not very well working) `delete` function

as a bonus, fixed a couple of lint errors :P