Initial commit

Added ability to read resolution and duration from file