First commit, added library and testbase.