added level loading, closes #12