add licence, bin; fix setup