making program loader to allow function imports