Implemented BlackBerry main  (initial version)