Move application classes to separate package