Cleanup code:

  1. Made some methods inline.
  2. Replaced `use ffi::*;` with `use ffi;`
Merge pull request #34 from Coeuvre/master

Cleanup code