Exported input keys and graphics class

Implemented script reloading.