moved files from typescript to src
disable tsd on test
refactored class builder
included typings