Added resourcebundle and messages calss