basic spa structure and libs