added initial funcitons, need to test both requires and versions module then use in example and update docs