use correct method
move code to api
added alias
added fuubar to make rspec work
make it work
remove alias
added appi test