Created more generic code, put up a nice lil' framework