added test dir, and etest
getting deps in order
added functions for registration