Merge pull request #25 from wbattestilli/master

minor refactoring, byte saving, up_n_down update