Move package AbstractResource into src/main so it is available to other projects