Moved initialisation of lua state to a separate function
Add os functions to the binding