TODO++
Change the API a bit
Add the int attr

Also fix the basic boilerplate code