add basic classes
Merge pull request #4 from mohayonao/classlib

add basic classes, but almost methods haven't been implemented yet.