refactor core & add spring, scribe log