add indexes to post repository
add dependency injection for post repository
add post create dto
post crud
cleanup code