init and load functions added; shell added