break slides js into it's own file; initial implementation of media manager