implemented support for copy out parameters, cleaned up files a bit