separate build goals for test and main
added lib folder for publishing on npm
increase version 0.0.2-alpha
added typings to npm published files
and added example section