Removed dependcies to railtie and activesupport.

Fixed bug to get correct status url.
Removed dependicies to rails
Get API key from the file