started initial migration to rails
moved api constant variables and calls to controllers and now can show results on homepage