Add Deploy File Resource Compression

Also includes a big cleanup of syntax and improved handling of file paths

Progress on #9