fix interface
add configure class
add formatter
use ENV in rails application