added more stuffs

Added AVI utilities and skeleton code for .ini support.