added os model and fix active record relationship to media and host, hopefully supporting the kickstart integeration for path etc
added os model and fix active record relationship to media and host, hopefully supporting the kickstart integeration for path etc