Added first() method
fixed ignoring numbers in the sql names
Merge pull request #21 from gaddas/master

some small fixes