rev1.1

rev1 : first package sent to Koshi
rev1.1: add 3 ch layer, direction change support