Added client and server into one project.
Added intellij project,
Flipping buffer bug fix