Organize files

Due to the intro of infinispan, seperate directories should be
created to keep the project organized.
And all the config files are moved to resource directory.

Signed-off-by: plysan <plysab@gmail.com>