Remove configatron; Adapted for rails 4