Init framework and setup