Fixing some bugs.
Fixing some bugs.
Default constructor for instantiation using reflection in ManagedBean
Refactoring queries