Application context Class Config

- Java config instead of xml config

- Property files

- Add few more tests