Wiring entities to db tables
Fixed access to ejbs
Made logger accessible only locally
Major changes