v0.05

refactoring and connection construction