adding const keyword to dyn_app generation
changing elfloader from malloc() to stack array approach