fix reloading issues
rakefile
add option to compile app