Add version number
Add version descriptor
Move codes to under lib/