improve ratinsg methods
add init file