moved functions to more resonable files
stubed get and post functions