Fixed input so that it works, fixed a close function for the sounds and tried some enums with lua, not finished