added logic
add docs
remove init file