[FEATURE] refactor bootstrapping and added travis ci

this refactoring is important for automatic tests and builds with travis ci and related to issue #109