Rewrite an initial version of SBT project

Close sumito3478/aprikot-cms#3
Close sumito3478/aprikot-cms#4