adding connection post, improve style, gitignore