If it's that simple why don't you write one yourself?