initial implementation of extjs front end, minor comments and documentation added to code