some refactorings
some refactorings, created library ft800