0.19b

improve daemon and flags model