initial commit
refactor main and bootstrapper