Replaced String literals with ResourceBundle calls.
Streamlined the whole code and tests.
Added configuration files and API controller.