rm __MAIN__
support __DIR__
Merge pull request #22 from mururu/dir

Remove __MAIN__ and support __DIR__