first commit

plexer class is still a work in progress.