renamed beans file and cleaned up servlet