refactoring #14
flags panel almost working
now login to contribute :+1: it closes #15