Add connect and exec api

inspired by mongoose, added the connect and exec interface.
Refactor the organization of file structue to allow mohair run in normal js env.