Fixed #3 Extract a library and make the 2 projects FlashBuilder / IntelliJ compatible