Modularized library for handling video input.